/**
 * @Author: Bobby
 * @Date: 2022-02-15 13:14:17
 * @LastEditTime: 2022-03-01 10:19:48
 * @LastEditors: Bobby
 * @Description:
 * @FilePath: \wms-v2\src\ve\common\components\baseComs\other\uiSteps.js
 * @CIMC-V2
 */
import { exSwitch } from '@ve/common/components/extension'
import { componentId } from '@/utils/unique'

export default {
  VERSION: '20220408',
  type: 'uiSteps',
  name: '步骤条',
  icon: 'more-fill',
  svg: 'buzhoutiao',
  //数据别名
  // dataName: 'uiSteps_data',
  //扩展
  extension: {
    stepOptions: {
      type: 'exStepOption',
      name: '步骤配置',
      value: [
        {
          label: 'step',
          description: '',
        },
        {
          label: 'step',
          description: '',
        },
      ],
    },
    textAlign: exSwitch('文字居中', false),
    verticalMode: exSwitch('竖向模式', false),
    simpleMode: exSwitch('简洁风格', false),
  },
  list: [
    {
      _id: `stepBox_${componentId(4)}`,
      name: '步骤条盒子',
      list: [],
    },
    {
      _id: `stepBox_${componentId(4)}`,
      name: '步骤条盒子',
      list: [],
    },
  ],
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
